package com.ruoyi.account.mapper;

import com.ruoyi.account.domain.Expense;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Options;
import org.apache.ibatis.annotations.Select;


import com.ruoyi.account.domain.Expense;
import java.math.BigDecimal;
import java.util.List;

public interface ExpenseMapper {
    int insertExpense(Expense expense);
    BigDecimal selectTotalExpenseByLedgerId(Long ledgerId);
    List<Expense> selectExpenseList(Expense expense);
}